package bean
{
	import mx.collections.ArrayCollection;

	[RemoteClass(alias="com.bean.HistoryLog")]
	[Bindable]
	public class HistoryLog
	{
		public static const Query_field_lease_issue:String="leaseIssue";
		public static const Query_field_protocol:String="protocol";
		public static const Query_field_ip_address:String="ipAddress";
		public static const Query_field_mac_address:String="macAddress";
		public static const Query_field_duid:String="duid";
		public static const Query_field_host_name:String="hostName";
		public static const Query_field_action:String="action";
		public static const Query_field_user_name:String="userName";
		public static const Query_field_start:String="start";
		public static const Query_field_stop:String="stop";
//		public static const Query_field_member_host_name:String="memberHostName";
		public static const Query_field_member_ip_address:String="memberIpAddress";

		public static const String_op_equals_choice:String="=";
		public static const String_op_equals:String="=";
		public static const String_op_notEquals:String="<>";
		public static const String_op_beginWith:String="like";
		public static const String_op_notBeginWith:String="not like";
		
		public static const Date_op_on:String="on";
		public static const Date_op_before:String="before";
		public static const Date_op_after:String="after";
		public static const Date_op_withinLast:String="withinLast";
		public static const Date_op_today:String="today";
		public static const Date_op_yesterday:String="yesterday";
		public static const Date_op_thisWeek:String="thisWeek";
		public static const Date_op_thisMonth:String="thisMonth";
		public static const Date_op_never:String="never";
		public static const Date_op_between:String="between";
		
		public static const Date_unit_day:String="day";
		public static const Date_unit_week:String="week";
		public static const Date_unit_month:String="month";
	
		public var id:Number;
		public var version:int;
		public var timestamp:Date;
		public var event:String;
		public var ipAddress:String;
		public var macAddress:String;
		public var hostName:String;
		public var memberOrServer:String;
		public var startTime:Date;
		public var endTime:Date;
		public var billingClass:String;
		public var bindingState:String;
		public var nextBindingState:String;
		public var UID:String;
		public var TSTP:Date;
		public var TSFP:Date;
		public var CLTT:Date;
		public var option:String;
		public var comment:String;
		public var userName:String;
		public var networkView:String;
		public var protocol:String;
		public var DUID:String;
		public var IAID:String;
		public var prefixBits:String;
		public var preferredLifetime:String;

	}
}